package com.atl.common;

import javax.servlet.http.HttpSession;

/**
 * 基于ThreadLocal工具类，用于保存和获取当前登录用户的id
 */
public class BaseContext {
    private static HttpSession session;
    private static Long id;

    public static Long getId () {
        return id;
    }

    public static void setId (Long id) {
        BaseContext.id = id;
    }
}

